import BaseDao from './base';

export default class IpsDao extends BaseDao {

  modelName = 'Ips';

  constructor(modules) {
    super(modules);
  }

  async getIpsAll(ips) {
    return await this.findAll(ips);
  }

  async getIpslist(ips) {
    return await this.findAndCountAll(ips);
  }

  async addIps(ips) {
    return await this.insert(ips);
  }
}